#ifndef _RAIN_H
#define _RAIN_H

#include "system.h"

//外部传感器模块管脚定义
#define DATA_PORT 			GPIOB  
#define DATA_PIN 			GPIO_Pin_15
#define DATA_PORT_RCC		RCC_APB2Periph_GPIOB

#define RAIN_DATA_READ 		PBin(15) 

void rain_init(void);



#endif
